import request from "@/plugins/axios";
//  列表
export function listApi() {
  return request({
    url: "/crm/label/index",
  });
}

//  删除
export function delApi(data) {
  return request({
    url: "/crm/label/delete",
    method: "post",
    data,
  });
}
//  组增加
export function addApi(data) {
  return request({
    url: "/crm/label/create",
    method: "post",
    data,
  });
}

//  组修改
export function saveApi(data) {
  return request({
    url: "/crm/label/save",
    method: "post",
    data,
  });
}
//  标签增加
export function addLabelApi(data) {
  return request({
    url: "/crm/label/addLabel",
    method: "post",
    data,
  });
}
//  标签删除
export function delLabelApi(data) {
  return request({
    url: "/crm/label/delete",
    method: "post",
    data,
  });
}
